import javax.swing.JFrame;


public class ArenaFrame extends JFrame{
	private Arena _contentArena ;
	public ArenaFrame(String title, Arena contentArena) {
		// Constructor for title and Arena to populate container
		super();
		this.setTitle(title);
		this.setDefaultCloseOperation(ArenaFrame.EXIT_ON_CLOSE);//Make sure program stops after closing window
		this.setContentPane(contentArena);
		_contentArena= contentArena;
		
	}
	
	
	@Override
	public void setSize(int width, int height) {
		//Set Container Size and Content Size Inside container
		_contentArena.setSize(width, height);
		super.setSize(width, height);
		
		
	}

}
